package com.zx.oa.entity;

import java.util.Date;

/**
 * 成绩类
 */
public class Result {
    private int id ;//成绩Id
    private int studentId;//学号
    private String examDate;//考试日期
    private int examType;//考试类型--1日考 2 周考
    private String studentResult;//成绩   差 中等 好  非常好

    public Result() {
    }

    public Result(String studentResult) {
        this.studentResult = studentResult;
    }

    public Result(int id, int studentId, String examDate, int examType, String studentResult) {
        this.id = id;
        this.studentId = studentId;
        this.examDate = examDate;
        this.examType = examType;
        this.studentResult = studentResult;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getStudentId() {
        return studentId;
    }

    public void setStudentId(int studentId) {
        this.studentId = studentId;
    }

    public String getExamDate() {
        return examDate;
    }

    public void setExamDate(String examDate) {
        this.examDate = examDate;
    }

    public int getExamType() {
        return examType;
    }

    public void setExamType(int examType) {
        this.examType = examType;
    }

    public String getStudentResult() {
        return studentResult;
    }

    public void setStudentResult(String studentResult) {
        this.studentResult = studentResult;
    }

    @Override
    public String toString() {
        return "Result{" +
                "id=" + id +
                ", studentId=" + studentId +
                ", examDate=" + examDate +
                ", examType=" + examType +
                ", studentResult='" + studentResult + '\'' +
                '}';
    }
}
